package com.mjxie.feign.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient("feign-provide")//激活feign客户端，value指定服务名称
public interface FeignHelloClient {

    @GetMapping("/feign/hello")
    String feignHello();
}
